import { useState } from 'react';
export const useModal = () => {
  //控制小球能否移动
  const [flag, setflag] = useState(false);
  return {
    flag,
    setflag,
  };
};
